#include <stdio.h>

int main() {
    short a = 0x0102;
    char *p = (char*)&a;
    if(p[0] == 0x01 && p[1] == 0x02) {
        printf("Big-Endian\n");
    } else if(p[0] == 0x02 && p[1] == 0x01) {
        printf("Little-Endian\n");
    } else {
        printf("Not Known!\n");
    }
    return 0;
}